using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Common.Utilities.Dispatcher;

namespace Workflows.Components
{
    [Serializable]
    public class GenericTriggerOutput:ResultBase
    {
        private bool _CanTrigger;

        public bool CanTrigger
        {
            get { return _CanTrigger; }
            set { _CanTrigger = value; }
        }
	
        public GenericTriggerOutput():base(Guid.Empty,Guid.Empty)
        {
            this._CanTrigger = true;
        }

        public GenericTriggerOutput(Guid componentID, Guid jobTicketID, bool canTrigger) : base(componentID, jobTicketID)
        {
            this._CanTrigger = canTrigger;
        }

        public override XmlNode Serialize(ref XmlDocument xDoc, ref XmlNode parentNode)
        {
            throw new NotImplementedException();
        }

        public override ResultBase Instantiate(XmlNode xNode)
        {
            throw new NotImplementedException();
        }
    }
}
